package com.qf.mapper;


import com.qf.entity.MallGoodsBrandEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BrandMapper {
    List<MallGoodsBrandEntity> findByPage(MallGoodsBrandEntity entity);

    @Select("select * from mall_goods_brand")
    List<MallGoodsBrandEntity> findAll();

    int add(MallGoodsBrandEntity entity);

    int delete(Integer id);

    int update(MallGoodsBrandEntity entity);

}
